#include <iostream>
#include <iomanip>
using namespace std;

int main(){

	for(int j = 1; j <= 9; j++){
	
		for(int i = 1; i <= j; i++){
			cout << j << " * " << i << " = " << j * i << "  ";
		}
		cout << endl;
	}
	return 0;
}
